<template>
  <div>
    <van-search v-model="search_value" show-action placeholder="请输入搜索关键词" @search="onSearch">
      <template #action>
        <div @click="onSearch">搜索</div>
      </template>
    </van-search>
    <leave-message-card></leave-message-card>
    <leave-message-card></leave-message-card>
    <leave-message-card></leave-message-card>
  </div>
</template>

<script>
import TopTopic from '../base/TopTopic'
import MyArticalCard from '../base/MyArticalCard'
import LeaveMessageCard from '../base/LeaveMessageCard'

export default {
  name: 'LeaveMessage',
  data() {
    return {
      search_value: ''
    }
  },
  methods: {
    onSearch() {}
  },
  components: {
    TopTopic,
    LeaveMessageCard
  }
}
</script>

<style>
.van-list {
  background-color: white;
  margin: 5px auto;
  padding: 5px 20px;
  border-radius: 20px;
}
</style>